import os

def checkFile(filePath):
    return os.path.isfile(filePath)

def checkDir(filePath):
    return os.path.isdir(filePath)